﻿var settings1 = new FormlySettings();

settings1.container = '#divFormly1';
//settings1.onloadCallback = Do22;
settings1.callbackSuccess = Do22;
//settings1.shortcutCallback = DoSubmit2;
settings1.setLoad(settings1.createGetConfig('/api/Employee/LoadFields'));
settings1.setSend(settings1.createPostConfig('/api/Employee/Add'));
settings1.controllerName = 'MainCtrl1';



function Do22() {
    alert(22);
}